package com.example.common.Vo;

import com.example.entity.KeyResults;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author daiweiyuan
 * @date 2022/4/17
 */
@Data
public class ObjectiveVO {
    private Integer id;
    private String name;
    private String parentName;
    private String descriptors;
    private String departmentName;
    private Integer departmentId;
    private String creator;
    private String reviewer;
    private Integer review;
    private Integer status;
    private Integer stars;
    private Double score;
    private String reason;
    private Boolean hasKeyResults;
    private List<KeyResults> keyResults;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime completeTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reviewTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
